<!doctype html>
<!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html <?php language_attributes(); ?> class="no-js">
<!--<![endif]-->
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <base href="<?php bloginfo('url'); ?>">
    <!--[if lt IE 9]>
    <script src="<?php bloginfo('template_directory') ?>/gevir/js/libs/html5.js"></script>
    <![endif]-->
    <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
    <header>
		<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
        <<?php echo $heading_tag; ?> id="site-title">
            <span>
                <a href="<?php echo home_url('/'); ?>" title="<?php echo get_bloginfo('name'); ?>" rel="home"><?php bloginfo('name'); ?></a>
            </span>
        </<?php echo $heading_tag; ?>>
        <nav>
            <menu>
                <?php wp_nav_menu( array('menu' => 'hovedmeny' )); ?>
            </menu>
        </nav>
    </header>